<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
	<meta charset="UTF-8">
	<title>Insert title here</title>
	<style  type ="text/css">
	body{
	 background-color:  #afb3e9;
	}
	h1{
	 text-align: center;
	}
	.content{
		width: 100%;
	    text-align: center;
	    margin-top:50px;
	}
	
	</style>
	</head>
	<body>
	<h1>添加学生信息</h1>
	<div class="content">
		<form action="student" method="post">
			学号：<input type="text" name="id" /><br />
			姓名：<input type="text" name="name" /><br />
			年龄：<input type="text" name="age" /><br />
			性别：<input type="text" name="gender" /><br />
			专业：<input type="text" name="major" /><br />
			电话：<input type="text" name="phone" /><br />
			<input hidden="hidden" name="method" value="add"/>
			<input type="submit" value="添加" />
		</form>
	</div>
	</body>
</html>